<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html lang="en" xml:lang="en" xmlns="http://www.w3.org/1999/xhtml"> 
<head>
<style type="text/css">
td {
  border: 1px black solid;
  vertical-align: top;
}

body {
  font-family: sans-serif;
}
</style>
<script type="text/javascript" src="options.js"></script>
<title>Secure sites options</title>
</head>
<body onload="loadExistingItems();">
<h2>Secure sites</h2>
<table>
<tr><th>Always redirect to secure</th><th>Never redirect to secure</th><th>Assumed no secure version exists</th></tr>
<tr>
  <td id="alwaysSites"><textarea id="newAlways" rows="22" cols="30"></textarea></td>
  <td id="neverSites"><textarea id="newNever" rows="22" cols="30"></textarea></td>
  <td id="assumedSites"><textarea id="newAssumed" rows="22" cols="30"></textarea></td>
</tr>
</table>
<p><input type="checkbox" id="shouldCacheMisses" value="true" /><label for="shouldCacheMisses"> Remember sites with no secure version (speeds up extension and uses less bandwidth, but stores browsing history in the extension).</label></p>
<p>If you enable the extension in incognito mode, your existing rules will always be followed.</p>
<p><input type="checkbox" id="shouldCreateRulesInIncognito" value="true" /><label for="shouldCreateRulesInIncognito"> Ask about sites in incognito mode? </label> - If you check this box, sites you navigate to in incognito mode without rules will offer you the chance to redirect to secure as normal.  These rules will apply out of incognito mode too.</p>
<p><input type="button" value="Save changes" onclick="saveChanges();" /></p>
</body>
</html>